package com.gem.day08.interfaces3;

public abstract class Vehicle implements Movable {

	private String direction;
	private int speed;

	public Vehicle() {
	}

	public Vehicle(String direction, int speed) {
		super();
		this.direction = direction;
		this.speed = speed;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}
}
